﻿#pragma once

#include "../MonsterObject.h"
#include "../../MirDatabase/MonsterInfo.h"
#include <cmath>

using namespace Server::MirDatabase;
namespace S = ServerPackets;

namespace Server::MirObjects::Monsters
{
    class Khazard : public MonsterObject
    {
    public:
        long long PullTime = 0;
        bool Range = false;

    protected:
        Khazard(MonsterInfo *info);

        bool getCanPull() const;

        bool InAttackRange() override;

        void Attack() override;

    private:
        void PullAttack();

    protected:
        void ProcessTarget() override;
    };
}
